﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Themes/Main.master" AutoEventWireup="true" CodeBehind="RoleFunction.aspx.cs" Inherits="TrainingsApp.IPADApp.Permission.RoleFunction" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../Scripts/CheckBox.js" type="text/javascript"></script>
    <script src="../Scripts/Dialog.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(
		function () {
		    $("input:checkbox", $("#<%= this.TreeView.ClientID %>")).click(
				function () {
				    $(this).CascadingSelect("<%= this.TreeView.ClientID %>", { key: "title", type: "" });
				});
		});
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="tablist2" width="100%" cellspacing="1" cellpadding="0">
        <tr>
            <td class="td2">
                系统权限: 当前角色【<asp:Label ID="lbRole" runat="server"></asp:Label>
                】 &nbsp;&nbsp;&nbsp;<asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click"
                    OnClientClick="return confirm('您确定保存吗？');" Text="保存" class="save" onmouseout="this.className='save'"
                    onmouseover="this.className='save_hover'" />
                <asp:Button ID="btnReturn" runat="server" Text="返回" OnClick="btnReturn_Click" class="back"
                    onmouseout="this.className='back'" onmouseover="this.className='back_hover'" />
            </td>
        </tr>
    </table>
    <table class="tablist2" width="100%" cellspacing="1" cellpadding="0">
        <tr>
            <td class="td2">
                <asp:TreeView ID="TreeView" runat="server" ShowCheckBoxes="All" Width="162px" AutoGenerateDataBindings="False"
                    ExpandDepth="1" ImageSet="Arrows">
                    <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
                    <NodeStyle Font-Names="Tahoma" Font-Size="10pt" ForeColor="Black" HorizontalPadding="5px"
                        NodeSpacing="0px" VerticalPadding="0px" />
                    <ParentNodeStyle Font-Bold="False" />
                    <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
                        VerticalPadding="0px" />
                </asp:TreeView>
            </td>
        </tr>
    </table>
</asp:Content>
